<div id="membership_link_new">
	<% if @artist.is_group? %>
	  <h1>Add Member to <%=h @artist.name %></h1>
	<% else %>
	  <h1>Add <%=h @artist.name %> to group</h1>
	<% end %>

	<% form_remote_for @artist_search, :url => search_artist_memberships_path do |f| %>
	  <%= f.label :name_like, "Name:" %>
	  <%= f.text_field :name_like %>
	  <%= f.submit "Search" %>
	<% end %>

	<hr />
	
    <div id="membership-search-results">
	  <%= render :partial => 'results', :locals => { :artist => @artist, :members => @members } %>
    </div>

</div>
